<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .kong{
            height: 60px;
            width: 44px;
            background-image: url(../复仇者/悟空.jpg);
            animation: kong 3s steps(13) infinite;
            margin: 10px auto;
            background-position: 0px -123px;
            /* 需要写结束时初始位置 */
        }
        @keyframes kong{
            form{
                background-position: 0px -123px;
            }
            to{
                background-position: -570px -123px;
            }
        }
    </style>
</head>
<body>
    <div class="kong"></div>
</body>
</html>